package com.jaxb;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlAdapter;

public class ServiceXmlAdapter extends XmlAdapter {
	public Object unmarshal(Object obj) throws Exception {
		return null;
	}

	public Object marshal(Object obj) throws Exception {
		if(obj.getClass().isAssignableFrom(Message.class)) {
			Class<?> classType = obj.getClass();
			XmlElement xmlElement = classType.getAnnotation(XmlElement.class);
		}
		return null;
	}
}
